<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>字符串</title>

    <script>

        'use strict';
        let i = '\x41';
        let j = '\u4e2d\u6587';

        console.log(i) // 'A'
        console.log(j) // '中文'

    //    多行字符串
        let k = `Cayde 6,
        Ace,
        I'm coming home!`;

        console.log(k)

        let name = '小明';
        let age = 20;
        let message = `你好, ${name}, 你今年${age}岁了!`;
        alert(message);


    </script>

</head>
<body>



</body>
</html>